(function () {
    var URL = window.UEDITOR_HOME_URL||"/admin/ueditor/";

    window.UEDITOR_CONFIG = {

        UEDITOR_HOME_URL : URL

        //图片上传配置区
        ,imageUrl:URL+"net/imageUp.ashx"
        ,imagePath: ""
        //,compressSide:0
        //,maxImageSideLength:600

        //附件上传配置区
        ,fileUrl:URL+"net/fileUp.ashx"
        ,filePath: ""

        ,catchRemoteImageEnable:false

        ,toolbars:[
            ['fullscreen', 'source', '|', 'undo', 'redo', '|',
                'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch','autotypeset','blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist','selectall', 'cleardoc', '|',
                'rowspacingtop', 'rowspacingbottom','lineheight','|',
                'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
                'directionalityltr', 'directionalityrtl', 'indent', '|',
                'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|','touppercase','tolowercase','|',
                'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright','imagecenter', '|',
                'insertimage',/* 'emotion','scrawl',*/ 'insertvideo','music','attachment', 'map',/* 'gmap', 'insertframe','highlightcode','webapp',*/'pagebreak','template',/*'background',*/ '|',
                'horizontal', 'date', 'time', 'spechars',/*'snapscreen', 'wordimage',*/ '|',
                'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', '|',
                'print', 'preview', 'searchreplace','help']
        ]
        
        ,labelMap:{
            'anchor':'', 'undo':''
        }

        ,initialContent:''

        //,initialFrameWidth:1000  //初始化编辑器宽度,默认1000
        //,initialFrameHeight:320  //初始化编辑器高度,默认320

        ,iframeCssUrl: ''

        //,textarea:'editorValue' // 提交表单时，服务器获取编辑器提交内容的所用的参数，多实例时可以给容器name属性，会将name给定的值最为每个实例的键值，不用每次实例化的时候都设置这个值

        ,wordCount:false

        ,elementPathEnabled : false

        //,minFrameWidth:800    //编辑器拖动时最小宽度,默认800
        //,minFrameHeight:220  //编辑器拖动时最小高度,默认220
    };
})();
